<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>

	<body>
		<script type="text/javascript">
			var sumCurrying = function(a) {
				return function(b) {
					return a + b;
				}
			}
			//sumCurrying(2)(3);
			console.log(sumCurrying(2)(3));
		</script>
	</body>

</html>